:root {
    --main-color: pink;
}


body {
    background-color: var(--main-color);
}

div {
    background-color: var(--main-color);
    animation: name duration timing-function delay iteration-count direction fill-mode;
    animation: moveto 1s;
}

@keyframes moveto {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}